<!--Copyright (C) Kherty.  All rights reserved.-->
<UserControl x:Class="OpenLS.Spreadsheet.UI.OKCancelUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Internals="clr-namespace:OpenLS.UI.Internals;assembly=OpenLS.UI"
    >
    <UserControl.Resources>
        <Style TargetType="{x:Type Button}">
            <Setter Property="Margin" Value="5"/>
            <Setter Property="MinWidth" Value="74"/>
            <Setter Property="MinHeight" Value="24"/>
        </Style>
    </UserControl.Resources>
    <DockPanel>
        <DockPanel DockPanel.Dock="Bottom">
            <Button  DockPanel.Dock="Right" IsCancel="True" Content="{x:Static Internals:UIStringTable.Cancel}"></Button>
            <Button Name="OK" DockPanel.Dock="Right" IsDefault="True" Content="{x:Static Internals:UIStringTable.OK}"></Button>
            <Rectangle/>
        </DockPanel>
        <ContentControl Name="Content" Content="{Binding}">

        </ContentControl>
    </DockPanel>

</UserControl>
